
#include "LibSSH2Interface.h"

LibSSH2Interface::LibSSH2Interface()
{
#if LIBSSH2_VERSION_NUM >= 0x010208
   libssh2_init(0);
#else
   #error "libssh2 < 1.2.8 not thread-safe"
#endif
}

LibSSH2Interface::~LibSSH2Interface()
{
#if LIBSSH2_VERSION_NUM >= 0x010208
   libssh2_exit();
#else
   #error "libssh2 < 1.2.8 not thread-safe"
#endif
}
